package com.allenkerr.dao;

import com.allenkerr.model.Girl;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by 小柯(Allen Kerr) on 17.6.4 00:08.
 */
public interface GirlRepository extends JpaRepository<Girl, Integer> {

    List<Girl> findByAge(Integer age);

}
